﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities.Admin
{
    [Table("error_log")]
    public class ErrorLogEntity
    {
        [Key]
        [Column("id")]
        public int id { get; set; }

        [Column("message")]
        public string message { get; set; }

        [Column("innerexception")]
        public string innerexception { get; set; }

        [Column("stacktrace")]
        public string stacktrace { get; set; }

        [Column("catchingmethod")]
        public string catchingmethod { get; set; }

        [Column("errortime")]
        public DateTime errortime { get; set; }

        [Column("type")]
        public string errortype { get; set; }
    }
}
